import request from '@/utils/request'

// 广告账户信息列表
export function accountLists(params?: Record<string, any>) {
    return request.get({ url: '/client/account/list', params })
}

export function accountStatistic(params?: Record<string, any>) {
    return request.get({ url: '/client/account/statistic', params })
}

// 广告账户信息详情
export function accountDetail(params: Record<string, any>) {
    return request.get({ url: '/client/account/detail', params })
}

// 广告账户信息新增
export function accountAdd(params: Record<string, any>) {
    return request.post({ url: '/client/account/add', params })
}

// 广告账户信息编辑
export function accountEdit(params: Record<string, any>) {
    return request.post({ url: '/client/account/edit', params })
}

// 广告账户信息删除
export function accountDelete(params: Record<string, any>) {
    return request.post({ url: '/client/account/del', params })
}
